<?php

class Sherpa_FeuserStatusController extends WSB_Xtension_Extension
{

	/**
	 * @return string
	 */
	public function renderForBackend()
	{
		return get_class($this);
	}

	/**
	 * Index Action
	 *
	 */
	public function indexAction()
	{
		$auth = WSB_Auth_Frontend::getInstance();
		if($auth->hasIdentity()) {
			$feuser = $auth->getIdentity();
			$feuser->password = null;
			$this->assignToView('feuser', $feuser);
		}
		$this->renderView('feuserstatus/index.phtml');
	}

}